﻿@model IntroEntityFramework.Model.Appointment
<br />
<h2>Edit Appointment</h2>
<form method="post">
    @Html.LabelFor(x => x.Description)<br />
    @Html.TextBoxFor(x => x.Description, new { @class = "form-control" }) <br />

    @Html.LabelFor(x => x.UserWith) <br />
    @Html.TextBoxFor(x => x.UserWith, new { @class = "form-control" }) <br />

    @Html.LabelFor(x => x.TimeStart) <br />
    @Html.EditorFor(x => x.TimeStart, new { @class = "form-control" }) <br />

    @Html.LabelFor(x => x.TimeEnd) <br />
    @Html.EditorFor(x => x.TimeEnd, new { @class = "form-control" }) <br />
    <br />
    @Html.HiddenFor(x => x.AppointmentID)
    <button class="btn btn-default" type="submit">Submit</button>
</form>